package com.zbkj.common.netty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 接受移动端的消息
 *
 * @author Administrator
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AcceptDataContent对象", description = "移动端消息对象")
public class AcceptDataContent implements Serializable {

    @ApiModelProperty(value = "用户信息对象")
    private UserInfo userInfo;

    @ApiModelProperty(value = "客服信息对象")
    private CustomerServiceInfo customerServiceInfo;

    @ApiModelProperty(value = "消息对象")
    private AcceptMessage acceptMessage;

    @ApiModelProperty(value = "消息类型(内容类型：0-登录，1-文本，2-图片，3-视频，4-商品链接，5-表情)")
    private Integer messageType;

    @ApiModelProperty(value = "用户类型(1用户  2客服)")
    private Integer userType;

    @ApiModelProperty(value = "用户类型(1用户  2客服)")
    private Integer toUserType;

    @ApiModelProperty(value = "扩展字段")
    private String extendField;

    @ApiModelProperty(value = "扩展字段2，不会放到推送的消息中")
    private String secret;
}
